﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace ResponseGeneratorWFConsoleApp
{
    public partial class CollectRequest : Form
    {
        private string _inquiryText;
        public string WebsiteAddress { get; set; }

public string Inquiry_Text
{
  get { return _inquiryText; }
  
}

         public CollectRequest()
        {
            InitializeComponent();
        }

        private void button1_Click(object sender, EventArgs e)
        {
            _inquiryText = this.InquiryText.Text;
            WebsiteAddress = rbHomeaway.Checked
                                 ? "http://www.homeaway.com/vacation-rental/p287289"
                                 : "http://www.vrbo.com/980";
            this.Close();
        }
    }
}
